/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.person.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.person.Person;
import za.ac.cput.person.impl.PersonImplementation;

/**
 *
 * @author 209039981
 */
@Configurable
public class PersonConfig 
{
    @Bean(name= "p")
    public Person day() 
    {
        return new PersonImplementation();
    }
    
}
